package com.qf.dao;

import com.qf.pojo.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/8/23 11:08
 */
public interface UserMapper {
    TbUser selectTbUser(Long id);
    List<TbUser> selectAll();
    TbUser selectUserName(@Param("name") String username, @Param("pwd") String password);

    void add(TbUser tbUser);
    TbUser selectMap( Map map);
    TbUser selectMapAs(@Param("map") Map map);
    List<TbUser> selectLike(String username);
    int delete(@Param("did") Long id);
    void updateUser(Map map);

}
